/**
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-01 21:14:36
 * Copyright (c) 2015- -版权所有
 */

package com.joysuch.wwyt.edu.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import lombok.Data;

import java.util.Date;

@Data
public class EduCoursewareListBean implements java.io.Serializable {

    // columns START
    // ID
    private Long id;
    // 编号
    private String code;
    // 名称
    private String name;
    // 分类ID
    private Long typeId;
    private String typeName;
    // 格式
    private String docTypeName;

    private String createUserName;
    private Date createTime;
    // 附件ID
    private Byte state;
    private String stateName;
    private Long attachmentId;
    private BaseAttachmentBean cover;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    // columns END

    @Data
    public static class SearchEduCourseware implements java.io.Serializable {

        // columns START
        // 编号
        private String code;
        // 名称
        private String name;
        private String nameOrCode;
        // 分类ID
        private Long typeId;
        // 格式
        private String docType;
        // 状态
        private Byte state;
        //课件分类id
        private Long typeName;
        // columns END

    }

}
